<?php foreach ($comments as $key => $comment) : ?>
	<li>
		<div class="date"><?php echo Yii::app()->dateFormatter->format("dd/MM/yyyy", $comment->crdate); ?></div>
		<p><?php echo CHtml::encode($comment->text); ?></p>
		<div class="av br5">
			<a href="<?php echo Yii::app()->createUrl('users/view', array('id'=>$comment->user->id));?>">
				<div class="br5"><?php echo $this->material_image($comment->user->id, $comment->user->avatar, '68', 'images/' . $comment->user->id); ?></div>
				<span><?php echo CHtml::encode($comment->user->full_name); ?></span>
			</a>
		</div>
		<div class="arr"></div>
	</li>
<?php endforeach; ?>